import java.util.Arrays;

public class Test {

    private static int[] arr = {25,10,15,20,25,5};

    public static void main(String[] args) {
//        Sort.baseSore(arr);
        Sort.bucketSort(arr);
        System.out.println(Arrays.toString(arr));


    }

    public static void main4(String[] args) {
        int[] arr2 = {5,1,1,2,0,0};
//        Sort.merge(arr2, 0, 2, 2);
//        Sort.mergeSore(arr);
        Sort.mergeSortNor(arr2);
//        Sort.countSort(arr);
        System.out.println(Arrays.toString(arr2));
    }

    public static void main3(String[] args) {
//        Sort.createHeap(arr);
//        Sort.heapSore(arr);
        Sort.bubbleSore(arr);
        System.out.println(Arrays.toString(arr));
        int[] arr3 = Arrays.copyOf(arr, arr.length);
        Sort.quickSore(arr3);
        System.out.println(Arrays.toString(arr3));
    }
    public static void main2(String[] args) {

        int[] arr2 = Arrays.copyOf(arr, arr.length);
        Sort.selectSort(arr);
        Sort.selectSort2(arr2);
        System.out.println(Arrays.toString(arr));
        System.out.println(Arrays.toString(arr2));
    }
    public static void main1(String[] args) {
        int[] arr1 = {3,4,1,6,9,2};
        int[] arr2 = {3,4,1,6,9,2};
        Sort.insertSort(arr1);
        Sort.shellSort(arr2);
        System.out.println(Arrays.toString(arr1));
        System.out.println(Arrays.toString(arr2));
    }
}
